package tmt.usercenter.web.controller.app.bean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import org.springframework.web.multipart.MultipartFile;
import tmt.usercenter.web.domain.enums.IdCardType;

import java.io.Serializable;

@Getter
@Setter
@ApiModel(description = "实名认证请求")
public class RealNameAuthRequest extends BaseClientInfo implements Serializable {
	/**
	 * 手机验证码
	 */
	@ApiModelProperty("接收到的手机验证码")
	private String checkCode;

	@ApiModelProperty("真实姓名")
	private String name;

	@ApiModelProperty("证件号码")
	private String cardNo;

	@ApiModelProperty("证件类型")
	private IdCardType cardType = IdCardType.ID_CARD_2;

	@ApiModelProperty("证件正面照片")
	private String front;

	@ApiModelProperty("证件背面面照片")
	private String back;

	@ApiModelProperty("上传的证件正面照片文件")
	private MultipartFile frontFile;

	@ApiModelProperty("上传的证件背面照片文件")
	private MultipartFile backFile;

}
